//#include "gd32f1x0.h"
#include "aoi.h"
#include "bb.h"
#include "bb_i2c_master.h"
#include "bsp.h"
#include "gd32f1x0.h"
#include "memory.h"
#include "plantform_systick.h"
#include <stdio.h>

extern struct LCD lcd;

/***************************************************

		port from origin project

***************************************************/

static void lcm_reset(void)
{
	printf("LCM is reset\r\n");
}

static void lcm_io_initial(void)
{
	printf("LCM IOs are initialized\r\n");
}

static void lcm_initial(void)
{
	printf("LCM is initialized\r\n");
}

static void lcm_full(void)
{
	printf("LCM all pixel all\r\n");
}

static void lcm_clear(void)
{
	printf("LCM all pixel off\r\n");
}

static void lcm_img1(void)
{
	printf("LCM show test img1\r\n");
}

static void lcm_img2(void)
{
	printf("LCM show test img2\r\n");
}

static void lcm_img3(void)
{
	printf("LCM show test img3\r\n");
}

static void lcm_img4(void)
{
	printf("LCM show test img4\r\n");
}

static void lcm_main(void)
{
}

__weak_symbol void aoi_config(void)
{
	lcd.io_initial = lcm_io_initial;
	lcd.test = lcm_main;
	lcd.reset = lcm_reset;
	lcd.initial = lcm_initial;
	lcd.screen[0] = lcm_clear;
	lcd.screen[1] = lcm_img1;
	lcd.screen[2] = lcm_img2;
	lcd.screen[3] = lcm_img3;
	lcd.screen[4] = lcm_img4;
	lcd.screen[0xf] = lcm_full;
}
